package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.Family;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface FamilyDao {
    int deleteByPrimaryKey(Family record);

    int insert(Family record);

    int insertSelective(Family record);

    List<Family> selectPageQuery(QueryDto queryDto);

    List<Family> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    Family selectOne(QueryDto queryDto);

    Family selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")Family record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(Family record);
}